from ronglian_sms_sdk import SmsSDK

accId = '2c94811c9035ff9f0192e147e7d20560'
accToken = '40e8560f05d2403595a75a0fbd55fe7c'
appId = '2c94811c9035ff9f0192e147e96f0567'


def send_message(mobile, code, time):
    sdk = SmsSDK(accId, accToken, appId)
    tid = '1'
    mobile = mobile
    datas = (code, time)
    resp = sdk.sendMessage(tid, mobile, datas)
    return resp
